<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<dl>
<c:forEach items="${sessionScope.user.permissionList}" var="p">
    <c:if test="${p.permissionPid==0}">
    <dt>${p.permissionName}</dt>
    <c:forEach items="${p.children}" var="pc">
        <dd><a href="${pc.permissionUrl}" >${pc.permissionName}</a></dd>
    </c:forEach>
</c:if>
</c:forEach>
</dl>
</body>
</html>
